//
//  MyTextField.m
//  王宇先_02
//
//  Created by wyx on 16/3/10.
//  Copyright © 2016年 Apon. All rights reserved.
//

#import "MyTextField.h"

@implementation MyTextField

- (instancetype)initWithFrame:(CGRect)frame placeHolder:(NSString *)placeHolder {
    self = [super initWithFrame:frame];
    if (self) {
        self.placeholder = placeHolder;
    }
    [self config];
    return self;
}
- (void)config {
    self.borderStyle = UITextBorderStyleRoundedRect;
    self.clearButtonMode = UITextFieldViewModeAlways;
    self.keyboardType = UIKeyboardAppearanceLight;
}
@end
